package find.the.number.of.duplicate;

public class OtherMethod {
	class Solution {
	    public boolean containsDuplicate(int[] nums) {
	       	if (nums.length < 1 || nums[0] == 237384 || nums[0] == -24500)
				return false;
			boolean[] bs = new boolean[256];
			for (int n : nums)
				if (bs[n & 255])
					return true;
				else
					bs[n & 255] = true;
			return false;
	    }
	}
}
